import request from "@/utils/request";

// 获取反馈分类列表
export const getFeedbackCategory = () => {
  return request({
    url: "/mall/tenant/shop/feedback/getFeedbackCategory",
    method: "post"
  });
};
// 获取反馈项列表
export const getFeedbackItem = () => {
  return request({
    url: "/mall/tenant/shop/feedback/getFeedbackItem",
    method: "post"
  });
};
// 提交反馈
export const feedbackCommit = props => {
  return request({
    url: "/mall/tenant/shop/feedback/commit",
    method: "post",
    data: props
  });
};

//图片上传，存到业务端
export const imgsUpload = props => {
  return request({
    url: "/sass/file/upload",
    method: "post",
    data: props
  });
};
